import React from 'react';
import Route from 'react-router/lib/Route';
import {WeaLocaleProvider} from 'ecCom';

import Home from './components/Home'
import OnlineEdit from './components/onlineEdit/index';


import './style';
import stores from './stores';

// const Home = props => props.children;
const getLocaleLabel = WeaLocaleProvider.getLocaleLabel.bind(this, 'odoc4OnlineEdit');

const Routes = (
  <Route path='offical' onEnter={getLocaleLabel} component={Home}>

    <Route path='onlineEdit' component={OnlineEdit} />
  </Route>
);

module.exports = {
  Route: Routes,
  store: stores,
};








